/*!
\copyright  Copyright (c) 2025 Qualcomm Technologies International, Ltd.
            All Rights Reserved.
            Qualcomm Technologies International, Ltd. Confidential and Proprietary.
\file
\ingroup    user_eq
\brief      Functions to read user eq configuration like bands and banks form the audio ps keys/UCIDs

*/

#ifndef USER_EQ_AUDIO_CONFIG_H_
#define USER_EQ_AUDIO_CONFIG_H_

#include <csrtypes.h>
#include <user_eq_types.h>

void UserEq_AudioConfigLoadEqParams(user_eq_data_t *eq_params);

/*! \brief Populate array of available presets

    It will populate presets array with ids of defined presets.
    It will scan audio ps keys to find which presets are defined,
    that takes time.

    Note that this functions ignores preset 'flat' UCID 1 and 'user eq' UCID 63.
    Only presets located between above are taken into account.

    When presets == NULL then it just returns number of presets.

    \param presets Array to be populated. In needs to be big enough to hold all preset ids.

    \return Number of presets defined.
*/
uint8 UserEq_AudioConfigPopulatePresets(uint8 *presets);

#endif